<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>三目运算符</title>
</head>
<body>
<script>
    var num = 1 > 0 ? ("10" > "9" ? 3 : 4) : 2;
    //"10" > "9" 比的是字符串ascii吗
</script>
</body>
</html>
